$("#addReprForm").validate();

$("#addInstitutionForm").validate();
	$("#repFirstName").autocomplete(allReps, {
		minChars: 0,
		width: 400,
		matchContains: "word",
		autoFill: false,
		formatItem: function(row, i, max) {
			return row.firstName + " " + row.lastName + " - "+row.inst;
		},
		formatMatch: function(row, i, max) {
			return row.firstName;
		},
		formatResult: function(row) {
			return row.firstName;
		}
	});
	
	
	$("#repLastName").autocomplete(allReps, {
		minChars: 0,
		width: 400,
		matchContains: "word",
		autoFill: false,
		formatItem: function(row, i, max) {
			return row.firstName + " " + row.lastName + " - "+row.inst;
		},
		formatMatch: function(row, i, max) {
			return row.lastName;
		},
		formatResult: function(row) {
			return row.lastName;
		}
	});